def test(begin,end):
    sum = 0
    for i in range(begin,end+1):
        sum += i
    return sum
result = test(1,100)
print(result)